package com.inspur.dgov.common.tool.page;

import lombok.Data;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

/**
 * 下拉选择分页
 *
 * @Author chiyupei
 * @Date 20/3/31 下午3:28
 * @Version 1.0
 * @Description 下拉选择分页
 */
@Data
public class SelectPage<T> implements Serializable {

    private List<T> list;

    private long totalRow;

    private long pageSize;

    private long pageNumber;

    private long totalPage;

    public SelectPage() {
        this.list = Collections.emptyList();
        this.totalRow = 0L;
        this.pageSize = 10L;
        this.pageNumber = 1L;
        this.totalPage = 0L;
    }
}
